<?php
namespace Home\Controller;
use Think\Controller;
class BaseController extends Controller {
    public function _initialize()
    {
        $this->assign('action_name',ACTION_NAME);
        $this->assign('controllerName',CONTROLLER_NAME);
    }
}